package projectile
{
	import mx.controls.*;
	import mx.core.UIComponent;
	import techquest.Velocity;
	
	public class Waterballoon extends UIComponent
	{
		private var velocity:Velocity;

		public function Waterballoon()
		{
			velocity = new Velocity();
			velocity.velocityX = velocity.velocityY = 0;
		}

		public function getVelocityX():Number
		{
			return velocity.velocityX;
		}

		public function getVelocityY():Number
		{
			return velocity.velocityY;
		}

		public function getVelocity():Velocity
		{
			return velocity;
		}
		
		public function setVelocity(v:Velocity):void
		{
			velocity = v;
		}
	}
}
